gsk: Pass the appropriate value for the n_quads argument
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 4 Aug 2016 18:14:51 +0000 (19:14 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:49:12 +0000 (11:49 +0100)
commit32d45b0081859fecf94f3766a5389c0105023f58
treee8b11c35e56fbf7f61b932537341bd554f6ee569
parenta0b2b3745f697b91d9e91c3f10b0b3b4627a33d8
gsk: Pass the appropriate value for the n_quads argument

Instead of passing the size of the buffer, we should pass the number of
quads; we know what the size of a single quad structure is, so we can do
the multiplication internally when creating the VAO.

This allows us to print the quads for debugging purposes.
gsk/gskgldriver.c
gsk/gskglrenderer.c